package com.lrc.springcloud.mapper;

import com.lrc.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 */
@Mapper
public interface PaymentMapper {

    /**
     * 创建 Payment
     * @param payment
     * @return
     */
    Integer create(Payment payment);

    /**
     * 通过 Id 获取 Payment
     * @param id
     * @return
     */
    Payment getPaymentById(@Param("id") Long id);

}
